package com.wjf.accesscontrol.net.api

import okhttp3.RequestBody

object ApiHelper {
    suspend fun login(url: String, requestBody: RequestBody) = RetrofitBuilder.apiService.login(url,requestBody)

    suspend fun stationDetail(url: String, machineId: String) = RetrofitBuilder.apiService.stationDetail(url,machineId)

    suspend fun upload(url: String, requestBody: RequestBody) = RetrofitBuilder.apiService.upload(url,requestBody)

    suspend fun deviceMachine(url: String, requestBody: RequestBody) = RetrofitBuilder.apiService.deviceMachine(url,requestBody)
}